package com.batch_demo.di.impl;

import com.batch_demo.di.OplogDao;
import com.batch_demo.di.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

//@Component
public class ServiceImpl implements Service {

    @Autowired
    private OplogDao oplogDao;

    @Override
    public void d() {
        oplogDao.b();
        oplogDao.c();
        System.out.println("ServiceImpl.d()");
    }
}
